home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Database / DBTVTest / Tester.h < prev    next >
Text File  |  1995-06-12  |  739b  |  42 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <dbkit/dbkit.h>
  4.  
  5. @interface Tester:Object
  6. {
  7.     id    DBTV;
  8. }
  9.  
  10. - appDidInit:sender;
  11.  
  12. - (unsigned int)rowCount;
  13. - (unsigned int)columnCount;
  14.  
  15. - getValueFor:rowIdentifier :columnIdentifier into:aValue;
  16. - getValueFor:identifier at:(unsigned int)aPosition into:aValue;
  17.  
  18. - setValueFor:rowIdentifier :columnIdentifier from:aValue;
  19. - setValueFor:identifier at:(unsigned int)aPosition from:aValue;
  20.  
  21.  
  22. @end
  23.  
  24. @interface SimpleProperty:Object <DBProperties>
  25. {
  26.     char *myName;
  27. }
  28.  
  29. - init;
  30. - (const char *)name;
  31. - (BOOL)setName:(const char *)aName;
  32. - (id <DBEntities>)entity;
  33.  
  34. - (BOOL)isKey;
  35. - (BOOL)isReadOnly;
  36. - (BOOL)isSingular;
  37. - (BOOL)matchesProperty:(id <DBProperties>)aProperty;
  38. - (id <DBTypes>)propertyType;
  39.  
  40. @end
  41.  
  42.